﻿using System;
using System.Collections.Generic;
using System.Text;
using Rison.BusinessFacade.Common;
using Rison.DataAccess.Data;
using Rison.DBHelper;
using Rison.DataAccess.Common;
using Rison.BusinessFacade.Entity;

namespace Rison.BusinessFacade.Facade
{
    public sealed class SysUserFacade : FacadeBase
    {
        protected override DataAccessBase dbObject
        {
            get
            {
                if (dbHelper == null)
                    dbHelper = new SysUserDb();

                return dbHelper;
            }
        }

        
        protected override Type entityType
        {
            get { return typeof(SysUser); }
        }

        protected override string identityFieldName
        {
            get
            {
                return "UID";
            }
        }


    }
}
